<?php

namespace app\api\controller;

use app\common\service\Region;

use app\common\service\Result;
use app\common\service\utils\Utils as UtilsService;
/**
 * 后台首页控制器
 */
class Utils extends Controller
{
    public function regionOption(Region $Region)
    {
        return $Region->regionOption();
    }

    public function getNation()
    {
        $nations = UtilsService::getNations();
        return Result::success($nations);
    }

    public function getEducation()
    {
        $educations = UtilsService::getEducations();
        return Result::success($educations);
    }
}